package com.ruoyi.staff.service.impl;

import com.ruoyi.staff.domain.StaffFile;
import com.ruoyi.staff.mapper.StaffFileMapper;
import com.ruoyi.staff.service.IStaffFileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StaffFileServiceImpl implements IStaffFileService {

    @Autowired
    private StaffFileMapper staffFileMapper;

    /**
     * 查询员工上传附件信息
     * @param stfId 员工基础信息ID
     * @return
     */
    @Override
    public List<StaffFile> selectStaffFilesById(Long stfId){
        return staffFileMapper.selectStaffFilesById(stfId);

    }

}
